home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9100 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Fahrenheight to Celsius?
  5. Date: 28 Feb 1996 16:14:00 GMT
  6. Organization: Borland International
  7. Message-ID: <4h1v08$eks@druid.borland.com>
  8. References: <4fvthq$2bl@newserv.agcs.com> <4fra3q$ddt@newsbf02.news.aol.com> <1996Feb26.060213.23285@lafn.org>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <1996Feb26.060213.23285@lafn.org>, an234@lafn.org says...
  15. >
  16. >
  17. >In a previous article, weinberr@agcs.com (Roy Weinberg) says:
  18. >
  19. >>pauldo@aol.com (PaulDo) pooted forth with the following:
  20. >>>Could someone show me how to write a program that converts fahrenheit to
  21. >>>celsius and vice versa in C++?  I would really appreciate it.
  22. >>>PaulDo
  23. >>
  24. >>Dear Mr. Duh,
  25. >>
  26. >>I've got it - you're joking, right?
  27. >>
  28. >>In case you're serious (tee hee, tee hee):
  29. >>
  30. >>Check out page 167 of The World Almanac and Book
  31. >>of Facts, 1988 for one of the most common equations
  32. >>known to people that went to public schools. 
  33. >>
  34. >>(Over 50 million copies have been sold so you can
  35. >>probably find one lying around your nursery er, I
  36. >>mean, classroom.)
  37. >>
  38. >>-- 
  39. >>----------------------------------------------------
  40. >>Roy Weinberg                
  41. >>74212.605@compuserve.com           
  42. >>http://ourworld.compuserve.com/homepages/RoyWeinberg
  43. >>
  44. >>
  45. >Just because this person doesn't want to give it to you... here they are:"
  46. >
  47. >
  48. >F = C*(9/5) +32
  49. >C = (F-32)*(5/9)
  50.  
  51. He was better off without this answer, which is wrong.
  52.  
  53.